package com.xydtech.system.domain;

import com.xydtech.common.annotation.Excel;
import com.xydtech.common.core.domain.TreeEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 国标行业对象 sys_gb_industry
 *
 * @author JHON
 * @date 2021-09-17
 */
public class SysGbIndustry extends TreeEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 上级行业编码 */
    @Excel(name = "上级行业编码")
    private String upIndustryCode;

    /** 行业编码 */
    @Excel(name = "行业编码")
    private String industryCode;

    /** 行业名称 */
    @Excel(name = "行业名称")
    private String industryName;

    /** 级别 */
    @Excel(name = "级别")
    private Long pLevel;

    /** 顺序 */
    @Excel(name = "顺序")
    private Long outOrder;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setUpIndustryCode(String upIndustryCode) {
        this.upIndustryCode = upIndustryCode;
    }

    public String getUpIndustryCode() {
        return upIndustryCode;
    }

    public void setIndustryCode(String industryCode) {
        this.industryCode = industryCode;
    }

    public String getIndustryCode() {
        return industryCode;
    }

    public void setIndustryName(String industryName) {
        this.industryName = industryName;
    }

    public String getIndustryName() {
        return industryName;
    }

    public void setpLevel(Long pLevel) {
        this.pLevel = pLevel;
    }

    public Long getpLevel() {
        return pLevel;
    }

    public void setOutOrder(Long outOrder) {
        this.outOrder = outOrder;
    }

    public Long getOutOrder() {
        return outOrder;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("upIndustryCode", getUpIndustryCode())
                .append("industryCode", getIndustryCode())
                .append("industryName", getIndustryName())
                .append("pLevel", getpLevel())
                .append("outOrder", getOutOrder())
                .toString();
    }
}
